package com.dianping.cat.home.service.entity;

import com.dianping.cat.home.service.BaseEntity;
import com.dianping.cat.home.service.IVisitor;










public class Domain
  extends BaseEntity<Domain>
{
  private String m_id;
  private long m_totalCount;
  private long m_failureCount;
  private double m_failurePercent;
  private double m_sum;
  private double m_avg;
  private double m_qps;

  public Domain() {}

/*  28 */   public Domain(String id) { this.m_id = id; }




/*  33 */   public void accept(IVisitor visitor) { visitor.visitDomain(this); }



  public boolean equals(Object obj) {
/*  38 */     if (obj instanceof Domain) {
/*  39 */       Domain _o = (Domain)obj;

/*  41 */       if (!equals(getId(), _o.getId())) {
/*  42 */         return false;
      }

/*  45 */       return true;
    }

/*  48 */     return false;
  }


/*  52 */   public double getAvg() { return this.m_avg; }



/*  56 */   public long getFailureCount() { return this.m_failureCount; }



/*  60 */   public double getFailurePercent() { return this.m_failurePercent; }



/*  64 */   public String getId() { return this.m_id; }



/*  68 */   public double getQps() { return this.m_qps; }



/*  72 */   public double getSum() { return this.m_sum; }



/*  76 */   public long getTotalCount() { return this.m_totalCount; }



  public int hashCode() {
/*  81 */     int hash = 0;

/*  83 */     return hash * 31 + ((this.m_id == null) ? 0 : this.m_id.hashCode());
  }





/*  90 */   public void mergeAttributes(Domain other) { assertAttributeEquals(other, "domain", "id", this.m_id, other.getId()); }



  public Domain setAvg(double avg) {
    this.m_avg = avg;
/*  96 */     return this;
  }

  public Domain setFailureCount(long failureCount) {
/* 100 */     this.m_failureCount = failureCount;
/* 101 */     return this;
  }

  public Domain setFailurePercent(double failurePercent) {
/* 105 */     this.m_failurePercent = failurePercent;
/* 106 */     return this;
  }

  public Domain setId(String id) {
/* 110 */     this.m_id = id;
/* 111 */     return this;
  }

  public Domain setQps(double qps) {
/* 115 */     this.m_qps = qps;
/* 116 */     return this;
  }

  public Domain setSum(double sum) {
/* 120 */     this.m_sum = sum;
/* 121 */     return this;
  }

  public Domain setTotalCount(long totalCount) {
/* 125 */     this.m_totalCount = totalCount;
/* 126 */     return this;
  }
}


/* Location:              /Users/hanfei/Documents/apache-tomcat-9.0.24/webapps/cat/WEB-INF/classes/!/com/dianping/cat/home/service/entity/Domain.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       1.0.7
 */